
<div class="tableform clearfix">
    <div class="">

        <div class="division clearfix">
            <div class="span-auto" style="padding-bottom:1em;">
                
                <button class="btn btn-primary" onclick="new Dialog('index.php?app=tags&ctl=admin_tags&act=batch_add&p[0]=<{$tag_id}>',{width:400,height:300,title:'<{t}>批量添加<{/t}>'})">
                <span>
                <span>批量添加</span></span>
                </button>

            </div>
            
            <div >
                <table class="gridlist" width="100%" border="0">
                    <tr>
                        <th><{t}>商品名称<{/t}></th>
                        <th><{t}>关联商品图片<{/t}></th>
                        <th><{t}>操作<{/t}></th>
                    </tr>
                    <{if $goodsTagList}>
                    <{foreach from=$goodsTagList item=item}>
                    <tr>
                        <td><{$item.goods_name}></td>
                        <td><image height=60 src="<{$item.image|default:$imageDefault.S.default_image|storager:'s'}>" /></td>
                        <td>
                            <span class="opt" onClick="new Dialog('index.php?app=tags&ctl=admin_tags&act=add&p[0]=<{$tag_id}>&p[1]=<{$item.id}>',{title:'<{t}>编辑关联商品<{/t}>', width:580, height:300})"><{t}>修改<{/t}></span>
                            <a class="opt" href="index.php?app=tags&ctl=admin_tags&act=delete&id=<{$item.id}>" >删除</a>
                        </td>
                    </tr>
                    <{/foreach}>
                    <{/if}>
                </table>
            </div>

        </div>


        <div class="division">

        </div>

    </div>

    </div>
